Create a macro

In the Macros editor, assign values to tags. The values can be in the form of other tags, expressions, or simple numeric values. At run time, when the macro runs, the values are sent to the tags at the data source.

To create a macro

  1. Open the Macros editor, using one of these methods:
    • From the File menu, select New > Macro.
    • In the Explorer window's Logic and Control folder, double-click the Macros icon.
    • In the Explorer window's Logic and Control folder, right-click the Macros icon and select New.
    • In the Explorer window's Logic and Control folder, drag and drop the Macros icon into the right pane.
  2. Type one or more tag assignments, each in a separate row.
  3. From the File menu, select Save and specify a name for the file.
  4. Click Close.

You are prompted to save your changes if you haven’t done so.

Tip:

When renaming macro files, make sure you update any references to that macro file, for example, in the Runtime Security, Display Settings, or Startup editor.

See also

About macros

Options in the Macros editor

data source